Conversation
Signed-off-by: anilb <epipav@gmail.com>
Signed-off-by: anilb <epipav@gmail.com>
Signed-off-by: anilb <epipav@gmail.com>
Signed-off-by: anilb <epipav@gmail.com>
Signed-off-by: anilb <epipav@gmail.com>
Signed-off-by: anilb <epipav@gmail.com>
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
|
|
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
1 similar comment
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
There was a problem hiding this comment.
Pull request overview
Adds Tinybird data pipelines and API-facing pipes to support “Agentic AI” collection momentum + project list endpoints, including a new junction datasource (collectionsRepositories) and a DB migration to enable replication.
Changes:
- Introduces copy pipes + datasources to precompute Agentic AI “projects list” and “momentum at-a-glance” metrics on a daily schedule.
- Adds API pipes that expose those precomputed datasources with client-friendly snake_case fields.
- Adds
collectionsRepositoriesTinybird datasource and a backend migration to support replication/indexing, plus a helperpush.shscript.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| services/libs/tinybird/scripts/push.sh | Script to push datasources/pipes via tb push with optional filename matching. |
| services/libs/tinybird/pipes/issue_analysis_copy_pipe.pipe | Adjusts commentedAt handling in issue analysis copy pipe. |
| services/libs/tinybird/pipes/agentic_ai_projects_list_copy.pipe | Daily copy pipe to compute per-project metrics for the Agentic AI collection. |
| services/libs/tinybird/pipes/agentic_ai_projects_list.pipe | API pipe selecting/renaming fields from agentic_ai_projects_list_ds. |
| services/libs/tinybird/pipes/agentic_ai_momentum_glance_copy.pipe | Daily copy pipe to compute at-a-glance collection metrics (contributors, medians, etc.). |
| services/libs/tinybird/pipes/agentic_ai_momentum_glance.pipe | API pipe selecting/renaming fields from agentic_ai_momentum_glance_ds. |
| services/libs/tinybird/datasources/collectionsRepositories.datasource | New replicated junction datasource for collection ↔ repository membership. |
| services/libs/tinybird/datasources/agentic_ai_projects_list_ds.datasource | Storage schema for precomputed per-project Agentic AI metrics. |
| services/libs/tinybird/datasources/agentic_ai_momentum_glance_ds.datasource | Storage schema for precomputed at-a-glance Agentic AI metrics. |
| backend/src/database/migrations/V1776939912__collectionRepositoriesReplicaIdentityUpdates.sql | Adds replica identity/grants/indexes for collectionsRepositories replication support. |
| backend/src/database/migrations/U1776939912__collectionRepositoriesReplicaIdentityUpdates.sql | Undo migration placeholder (empty). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: anilb <epipav@gmail.com>
…owdDotDev/crowd.dev into feat/agentic-ai-momentum-tb-endpoints
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
Signed-off-by: anilb <epipav@gmail.com>
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c5dc8a4. Configure here.
Signed-off-by: anilb <epipav@gmail.com> Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>

Note
Medium Risk
Adds new Tinybird scheduled COPY pipes and a Postgres replication/publication migration, which can impact data freshness and CDC behavior if misconfigured. Mostly analytics/reporting, but touches production DB replication settings and indexing.
Overview
Adds new Tinybird endpoints for Agentic AI momentum: scheduled daily COPY pipes that precompute collection-level “at a glance” metrics and per-project metrics into new
agentic_ai_momentum_glance_dsandagentic_ai_projects_list_ds, plus thin query pipes (agentic_ai_momentum_glance.pipe,agentic_ai_projects_list.pipe) that expose the results.Introduces a Tinybird
collectionsRepositoriesdatasource and a Postgres migration to setcollectionsRepositoriestoREPLICA IDENTITY FULL, grant Sequin read access, conditionally add the table tosequin_pub, and add an("updatedAt", id)index.Fixes
issue_analysis_copy_pipe.pipeto treatcommentedAt = toDateTime(0)as NULL, and adds ascripts/push.shhelper to push Tinybird datasources first (optionally filtered via--match).Reviewed by Cursor Bugbot for commit c5dc8a4. Bugbot is set up for automated code reviews on this repo. Configure here.